<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.10"/>
<title>Introduction_to_Algorithms: src/graph_algorithms/basic_graph/graph_representation/adjlist_graph/adjlistgraph_test.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Introduction_to_Algorithms
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.10 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('adjlistgraph__test_8h.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#namespaces">Namespaces</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">adjlistgraph_test.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;src/google_test/gtest.h&quot;</code><br />
<code>#include &quot;<a class="el" href="adjlistgraph_8h_source.html">adjlistgraph.h</a>&quot;</code><br />
<code>#include &lt;memory&gt;</code><br />
</div>
<p><a href="adjlistgraph__test_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="class_graph_a_d_j_list_test.html" title="GraphADJListTest:测试类，用于为测试提供基础数据 ">GraphADJListTest</a>:测试类，用于为测试提供基础数据  <a href="class_graph_a_d_j_list_test.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceanonymous__namespace_02adjlistgraph__test_8h_03"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceanonymous__namespace_02adjlistgraph__test_8h_03.html">anonymous_namespace{adjlistgraph_test.h}</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a28b81e39dcdcd1b8a9d1d3127b635b68"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adjlistgraph__test_8h.html#a28b81e39dcdcd1b8a9d1d3127b635b68">TEST_F</a> (<a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>, test_weight)</td></tr>
<tr class="memdesc:a28b81e39dcdcd1b8a9d1d3127b635b68"><td class="mdescLeft">&#160;</td><td class="mdescRight">adjlist_graph_test:测试ADJListGraph  <a href="#a28b81e39dcdcd1b8a9d1d3127b635b68">More...</a><br /></td></tr>
<tr class="separator:a28b81e39dcdcd1b8a9d1d3127b635b68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adffd83a26d2960a12f51e6b93c734c46"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adjlistgraph__test_8h.html#adffd83a26d2960a12f51e6b93c734c46">TEST_F</a> (<a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>, test_has_edge)</td></tr>
<tr class="memdesc:adffd83a26d2960a12f51e6b93c734c46"><td class="mdescLeft">&#160;</td><td class="mdescRight">adjlist_graph_test:测试ADJListGraph  <a href="#adffd83a26d2960a12f51e6b93c734c46">More...</a><br /></td></tr>
<tr class="separator:adffd83a26d2960a12f51e6b93c734c46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab40ba8fbda34fb88e38fe419ee0fc705"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adjlistgraph__test_8h.html#ab40ba8fbda34fb88e38fe419ee0fc705">TEST_F</a> (<a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>, test_add_edge)</td></tr>
<tr class="memdesc:ab40ba8fbda34fb88e38fe419ee0fc705"><td class="mdescLeft">&#160;</td><td class="mdescRight">adjlist_graph_test:测试ADJListGraph  <a href="#ab40ba8fbda34fb88e38fe419ee0fc705">More...</a><br /></td></tr>
<tr class="separator:ab40ba8fbda34fb88e38fe419ee0fc705"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36f4e52ba65c2e5bc501e631687de66e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adjlistgraph__test_8h.html#a36f4e52ba65c2e5bc501e631687de66e">TEST_F</a> (<a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>, test_add_edges)</td></tr>
<tr class="memdesc:a36f4e52ba65c2e5bc501e631687de66e"><td class="mdescLeft">&#160;</td><td class="mdescRight">adjlist_graph_test:测试ADJListGraph  <a href="#a36f4e52ba65c2e5bc501e631687de66e">More...</a><br /></td></tr>
<tr class="separator:a36f4e52ba65c2e5bc501e631687de66e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c2d014221c2625aa6658f2c059ea7dc"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adjlistgraph__test_8h.html#a5c2d014221c2625aa6658f2c059ea7dc">TEST_F</a> (<a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>, test_adjust_edge)</td></tr>
<tr class="memdesc:a5c2d014221c2625aa6658f2c059ea7dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">adjlist_graph_test:测试ADJListGraph  <a href="#a5c2d014221c2625aa6658f2c059ea7dc">More...</a><br /></td></tr>
<tr class="separator:a5c2d014221c2625aa6658f2c059ea7dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8060f1785ccafa43adb7cc6a12cc20cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adjlistgraph__test_8h.html#a8060f1785ccafa43adb7cc6a12cc20cd">TEST_F</a> (<a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>, test_edge_tuples)</td></tr>
<tr class="memdesc:a8060f1785ccafa43adb7cc6a12cc20cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">adjlist_graph_test:测试ADJListGraph  <a href="#a8060f1785ccafa43adb7cc6a12cc20cd">More...</a><br /></td></tr>
<tr class="separator:a8060f1785ccafa43adb7cc6a12cc20cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb9b9fedae51da94a0e9ca57b7457e28"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="adjlistgraph__test_8h.html#acb9b9fedae51da94a0e9ca57b7457e28">TEST_F</a> (<a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>, test_vertex_edge_tuples)</td></tr>
<tr class="memdesc:acb9b9fedae51da94a0e9ca57b7457e28"><td class="mdescLeft">&#160;</td><td class="mdescRight">adjlist_graph_test:测试ADJListGraph  <a href="#acb9b9fedae51da94a0e9ca57b7457e28">More...</a><br /></td></tr>
<tr class="separator:acb9b9fedae51da94a0e9ca57b7457e28"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a398e679d6fa790bc3ff7d6a7c92a7d74"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceanonymous__namespace_02adjlistgraph__test_8h_03.html#a398e679d6fa790bc3ff7d6a7c92a7d74">anonymous_namespace{adjlistgraph_test.h}::ADJ_NUM</a> =10</td></tr>
<tr class="separator:a398e679d6fa790bc3ff7d6a7c92a7d74"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a28b81e39dcdcd1b8a9d1d3127b635b68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_weight&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adjlist_graph_test:测试ADJListGraph </p>
<p>测试<code>weight</code>方法成员。 </p>

<p>Definition at line <a class="el" href="adjlistgraph__test_8h_source.html#l00051">51</a> of file <a class="el" href="adjlistgraph__test_8h_source.html">adjlistgraph_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="adffd83a26d2960a12f51e6b93c734c46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_has_edge&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adjlist_graph_test:测试ADJListGraph </p>
<p>测试<code>has_edge</code>方法成员。 </p>

<p>Definition at line <a class="el" href="adjlistgraph__test_8h_source.html#l00063">63</a> of file <a class="el" href="adjlistgraph__test_8h_source.html">adjlistgraph_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab40ba8fbda34fb88e38fe419ee0fc705"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_add_edge&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adjlist_graph_test:测试ADJListGraph </p>
<p>测试<code>add_edge</code>方法成员。 </p>

<p>Definition at line <a class="el" href="adjlistgraph__test_8h_source.html#l00078">78</a> of file <a class="el" href="adjlistgraph__test_8h_source.html">adjlistgraph_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a36f4e52ba65c2e5bc501e631687de66e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_add_edges&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adjlist_graph_test:测试ADJListGraph </p>
<p>测试<code>add_edges</code>方法成员。 </p>

<p>Definition at line <a class="el" href="adjlistgraph__test_8h_source.html#l00098">98</a> of file <a class="el" href="adjlistgraph__test_8h_source.html">adjlistgraph_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5c2d014221c2625aa6658f2c059ea7dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_adjust_edge&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adjlist_graph_test:测试ADJListGraph </p>
<p>测试<code>adjust_edge</code>方法成员。 </p>

<p>Definition at line <a class="el" href="adjlistgraph__test_8h_source.html#l00117">117</a> of file <a class="el" href="adjlistgraph__test_8h_source.html">adjlistgraph_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8060f1785ccafa43adb7cc6a12cc20cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_edge_tuples&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adjlist_graph_test:测试ADJListGraph </p>
<p>测试<code>edge_tuples</code>方法成员。 </p>

<p>Definition at line <a class="el" href="adjlistgraph__test_8h_source.html#l00139">139</a> of file <a class="el" href="adjlistgraph__test_8h_source.html">adjlistgraph_test.h</a>.</p>

</div>
</div>
<a class="anchor" id="acb9b9fedae51da94a0e9ca57b7457e28"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">TEST_F </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_graph_a_d_j_list_test.html">GraphADJListTest</a>&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">test_vertex_edge_tuples&#160;</td>
          <td class="paramname">&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>adjlist_graph_test:测试ADJListGraph </p>
<p>测试<code>vertex_edge_tuples</code>方法成员。 </p>

<p>Definition at line <a class="el" href="adjlistgraph__test_8h_source.html#l00156">156</a> of file <a class="el" href="adjlistgraph__test_8h_source.html">adjlistgraph_test.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_8ed9dba4cd616b67da9b1338594e34e0.html">src</a></li><li class="navelem"><a class="el" href="dir_aa0a5ddea82682e3e6fbdbaa3337ee0e.html">graph_algorithms</a></li><li class="navelem"><a class="el" href="dir_7ed7dee3af3b488a5e053ec9bcb71f0e.html">basic_graph</a></li><li class="navelem"><a class="el" href="dir_d12496f1fc7378ee9aea361c57814de0.html">graph_representation</a></li><li class="navelem"><a class="el" href="dir_b9f111d5dc0c5f95961805062b678fac.html">adjlist_graph</a></li><li class="navelem"><a class="el" href="adjlistgraph__test_8h.html">adjlistgraph_test.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.10 </li>
  </ul>
</div>
</body>
</html>
